from django.db import models
from django.contrib.auth.models import User
# Create your models here.
# 用户属性添加
class Profile(models.Model):
    user = models.OneToOneField(User)
    name = models.CharField("中文名",max_length=20)
    phone = models.CharField("手机号",max_length=20)
    qq = models.CharField("企业qq",max_length=20)
